package cn.seocoo.platform.base.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: PostClassificationDto
 * @description: 项目分类Dto
 * @author: wujian
 * @Date: 2019-10-22 09:32
 **/
public class BaseCommonParentsDto {

    /**
     * 主键
     */
    private Integer id;

    /**
     * 分类名称
     */
    private String text;

    private List<BaseCommonDto> childrenList = new ArrayList<>();


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<BaseCommonDto> getChildrenList() {
        return childrenList;
    }

    public void setChildrenList(List<BaseCommonDto> childrenList) {
        this.childrenList = childrenList;
    }
}